package com.shycloud.mido.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.member.api.entity.MemberOrderApp;
import com.shycloud.mido.member.api.vo.MemberOrderAppVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Xiaoxing Yu
 * @date 1/29/21 5:03 PM
 **/
public interface MemberOrderAppMapper extends BaseMapper<MemberOrderApp> {

    List<MemberOrderAppVO> searchOrderByKeyWord(@Param("keyword") String keyword, @Param("memberId") String memberId);

	List<MemberOrderAppVO> getAllOrders(@Param("memberId") String memberId, @Param("status") String status);

}
